<template>
  <div class="promotionRecord">
    <div class="table">
      <el-table :data="tableData" stripe style="width: 100%">
        <el-table-column prop="ddbh" label="订单编号"></el-table-column>
        <el-table-column prop="sjlx" label="数据类型"></el-table-column>
        <el-table-column prop="qdmc" label="渠道名称"></el-table-column>
        <el-table-column prop="tgrq" label="推广日期"></el-table-column>
      </el-table>
    </div>
    <div class="pagination">
      <el-pagination
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
        :current-page="currentPage4"
        :page-sizes="[100, 200, 300, 400]"
        :page-size="100"
        layout="total, sizes, prev, pager, next, jumper"
        :total="400">
      </el-pagination>
    </div>
  </div>
</template>

<script>
export default {
  name: "promotionRecord",
  data() {
    return {
      type: "",
      name: "",
      date: "",
      tableData: [
        {
          ddbh:'15',
          sjlx:'数据类型',
          qdmc:'非常规渠道',
          tgrq: "2016-05-02",
        },
        {
          ddbh:'15',
          sjlx:'数据类型',
          qdmc:'非常规渠道',
          tgrq: "2016-05-02",
        },
        {
          ddbh:'15',
          sjlx:'数据类型',
          qdmc:'非常规渠道',
          tgrq: "2016-05-02",
        },
      ]
    };
  },
  created() {
    console.log("客户");
  },
  methods: {}
};
</script>

<style scoped lang="less">
.promotionRecord {
  width: 100%;
  .tips {
    border: 1px solid rgb(0, 193, 222);
    font-size: 14px;
    padding: 5px 20px;
    color: rgb(119, 127, 132);
    background-color: rgb(239, 240, 252);
    i {
      margin-right: 5px;
    }
  }
  .search {
    display: flex;
    .date,
    .searchBtn {
      margin-left: 20px;
    }
    /deep/ .el-select {
      width: 150px;
    }
  }
  .nums {
    width: 100%;
    padding: 5px 20px;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    margin-top: 20px;
    height: 50px;
    border-bottom: none;
    p {
      font-size: 14px;
      color: rgb(119, 127, 132);
      em {
        font-size: 20px;
        font-weight: 600;
      }
    }
    .buy {
      margin-left: 50px;
    }
  }
  .table {
    width: 100%;
    /deep/ .el-table{
      border: 1px solid #ccc;
      /deep/ .has-gutter tr th{
        // background: #f00;
        background: rgb(245,245,246) !important;
      }
    }
  }
  .pagination{
    width: 100%;
    height: 60px;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-sizing:border-box;
    border-top: none;
  }
}
</style>
